micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
[common]invokeOnFirst
common
invoke
On
First
suspend fun <
T
,
O
>
Iterable
<
Deferred
<
T
>>.
invokeOnFirst
(scope:
CoroutineScope
, cancelOnResult:
Boolean
= true, callback: suspend (
T
) ->
O
):
O
Content copied to clipboard
suspend fun <
T
,
O
>
invokeOnFirst
(scope:
CoroutineScope
, vararg variants:
Deferred
<
T
>, cancelOnResult:
Boolean
= true, callback: suspend (
T
) ->
O
):
O
Content copied to clipboard